/*


 */

package bankserver;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 *
 */
public interface Account extends Remote {
    String getName() throws RemoteException;
    Double getBalance() throws RemoteException;
    void deposit(Double amount) throws RemoteException;
    void withdraw(Double amount) throws RemoteException;
}
